package cn.edu.sgu.www.mhxysy.dto.system;

import cn.edu.sgu.www.mhxysy.dto.DataTransferObject;
import cn.edu.sgu.www.mhxysy.entity.system.Permission;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author 沐雨橙风ιε
 * @version 1.0
 */
@Data
@ApiModel
public class PermissionInitDTO implements DataTransferObject {

    /**
     * 服务名称
     */
    @ApiModelProperty(value = "服务名称", required = true)
    private String service;

    /**
     * 权限列表
     */
    @ApiModelProperty(value = "权限列表", required = true)
    private List<Permission> permissions;
}